package com.wcy.feign.perm;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "cloud-provider-perm",contextId = "FeignPermAuthService")
public interface FeignPermAuthService {
    @PostMapping("auth/perms")
    public ResponseEntity<List<String>> getPermissionsByRoleList(@RequestBody List<Object> objs);
}
